package com.dhecp.project.purchase.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @program: kjecp
 * @description: 采购订单子表
 * @author: hlf
 * @create: 2022-08-22 09:45
 */
public class PurchaseOrderSon {

    private static final long serialVersionUID = 1L;

    private String guid;//唯一标识
    private Integer iid;//行号
    private String code;//商品编码
    private String name;//商品名称
    private String sCode;//子件编码
    private String sName;//子件名称
    private Integer sum;//子件采购总数
    private String linkIn;//子件链接
    private Double price;//子件预估单价
    private Double cost;//子件预估总价
    private Double price2;//子件实际单价
    private Double cost2;//子件实际总价
    private String goodsID;//商品ID
    private String tradeName;//商品标题
    private String state;//商品状态
    private String skuId;//skuId
    private String specId;//specId
    private String sKU;//SKU属性
    private String sKU2;//SKU属性
    private String sKUCode;//sku编码
    private String pGuid;//父唯一标识
    private String pNid;//父单号
    private String vType;//采购类型（CG：采购，JG：加购）
    private String remark;//备注
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime; //创建日期
    private Integer fRkSl;	//入库数量
    private Integer fRkSl2;	//入库保存数量

    //虚拟字段
    private String orderID;//订单号

    
    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public Integer getIid() {
        return iid;
    }

    public void setIid(Integer iid) {
        this.iid = iid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getsCode() {
        return sCode;
    }

    public void setsCode(String sCode) {
        this.sCode = sCode;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public Integer getSum() {
        return sum;
    }
    

    public void setSum(Integer sum) {
        this.sum = sum;
    }

    

	public String getLinkIn() {
		return linkIn;
	}

	public void setLinkIn(String linkIn) {
		this.linkIn = linkIn;
	}



    
    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getCost() {
        return cost;
    }

    public void setCost(Double cost) {
        this.cost = cost;
    }

    public Double getPrice2() {
        return price2;
    }

    public void setPrice2(Double price2) {
        this.price2 = price2;
    }

    public Double getCost2() {
        return cost2;
    }

    public void setCost2(Double cost2) {
        this.cost2 = cost2;
    }

    public String getGoodsID() {
        return goodsID;
    }

    public void setGoodsID(String goodsID) {
        this.goodsID = goodsID;
    }

    public String getTradeName() {
        return tradeName;
    }

    public void setTradeName(String tradeName) {
        this.tradeName = tradeName;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    public String getSpecId() {
        return specId;
    }

    public void setSpecId(String specId) {
        this.specId = specId;
    }

    public String getsKU() {
        return sKU;
    }

    public void setsKU(String sKU) {
        this.sKU = sKU;
    }

    public String getsKUCode() {
        return sKUCode;
    }

    public void setsKUCode(String sKUCode) {
        this.sKUCode = sKUCode;
    }

    public String getpGuid() {
        return pGuid;
    }

    public void setpGuid(String pGuid) {
        this.pGuid = pGuid;
    }

    public String getpNid() {
        return pNid;
    }

    public void setpNid(String pNid) {
        this.pNid = pNid;
    }

    public String getvType() {
		return vType;
	}

	public void setvType(String vType) {
		this.vType = vType;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getOrderID() {
        return orderID;
    }

    public void setOrderID(String orderID) {
        this.orderID = orderID;
    }


	public Integer getfRkSl() {
		return fRkSl;
	}


	public void setfRkSl(Integer fRkSl) {
		this.fRkSl = fRkSl;
	}


	public Integer getfRkSl2() {
		return fRkSl2;
	}


	public void setfRkSl2(Integer fRkSl2) {
		this.fRkSl2 = fRkSl2;
	}

    public String getsKU2() {
        return sKU2;
    }

    public void setsKU2(String sKU2) {
        this.sKU2 = sKU2;
    }
}
